﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace PhoneApp1
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Конструктор
        public MainPage()
        {
            InitializeComponent();
        }
        //TODO ОГЛАВЛЕНИЕ!
        private void BButton_Click(object sender, RoutedEventArgs e)
        {
            //пример кнопок
            NavigationService.Navigate(new Uri("/ButtonPage.xaml", UriKind.RelativeOrAbsolute));
        }

        private void BTextBlock_Click(object sender, RoutedEventArgs e)
        {
            //пример текст
            NavigationService.Navigate(new Uri("/TextBlockPage.xaml", UriKind.RelativeOrAbsolute));
        }

        private void BTextBox_Click(object sender, RoutedEventArgs e)
        {
            //пример текстового поля
            NavigationService.Navigate(new Uri("/TextBoxPage.xaml", UriKind.RelativeOrAbsolute));
        }

        private void BSelectors_Click(object sender, RoutedEventArgs e)
        {
            //пример чекбокс, флаги, ползунки
            NavigationService.Navigate(new Uri("/SelectorsPage.xaml", UriKind.RelativeOrAbsolute));
        }

        private void BPanorama_Click(object sender, RoutedEventArgs e)
        {
            //пример панорамы
            NavigationService.Navigate(new Uri("/PanoramaPage.xaml", UriKind.RelativeOrAbsolute));
        }

        private void BPivot_Click(object sender, RoutedEventArgs e)
        {
            //пример вращалки (pivot)
            NavigationService.Navigate(new Uri("/PivotPage.xaml", UriKind.RelativeOrAbsolute));
        }

        private void BAppBar_Click(object sender, RoutedEventArgs e)
        {
            //пример меню приложения
            NavigationService.Navigate(new Uri("/AppBarPage.xaml", UriKind.RelativeOrAbsolute));
        }

        private void BOther_Click(object sender, RoutedEventArgs e)
        {
            //пример прочих элементов
            NavigationService.Navigate(new Uri("/OtherPage.xaml", UriKind.RelativeOrAbsolute));
        }
    }
}